
package com.ami.kvm.isocaching;

import java.nio.ByteBuffer;
import java.util.Date;

public class SectorBank {
	public static final int MAX_SECTOR_COUNT = 64;
	public static final long MAX_BUFFER_SIZE = 131072L;
	private long sectorKey;
	private byte[] sectorData;
	private final Object lock = new Object();

	public SectorBank() {
	}

	public SectorBank(ByteBuffer paramByteBuffer) {
		setSectorData(this.sectorData);
	}

	public SectorBank(Date paramDate, ByteBuffer paramByteBuffer) {
		setSectorData(this.sectorData);
	}

	public long getSectorKey() {
		return this.sectorKey;
	}

	public void setSectorKey(long paramLong) {
		this.sectorKey = paramLong;
	}

	public byte[] getSectorData() {
		// TODO tianlin
		synchronized (this.lock) {
			return this.sectorData;
		}
	}

	public void setSectorData(byte[] paramArrayOfByte) {
		synchronized (this.lock) {
			this.sectorData = paramArrayOfByte;
		}
	}
}

/*
 * Location:
 * D:\Users\tianlin\Downloads\JViewer.jar!\com\ami\kvm\isocaching\SectorBank.
 * class Java compiler version: 5 (49.0) JD-Core Version: 0.7.1
 */